Adwaita: Don't do n-th child things for list rows
authorMatthias Clasen <mclasen@redhat.com>
Wed, 11 Nov 2020 18:07:31 +0000 (13:07 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 11 Nov 2020 18:18:08 +0000 (13:18 -0500)
commitbfe5b0d1b7a13749642a94a8a75fd82b6401a9ae
tree3ad20d792ab4e64a4f8e00d3eec4e0f1a71db4ec
parent82b855cc4b4127bd5f1f8b41a8808433375c0bd7
Adwaita: Don't do n-th child things for list rows

Making the list row child css depend on the position
is very expensive, and does not acutally work correctly
(since we don't have widgets for all children, so the
position of the child widget does not reflect the actual
model item position).

To make this more palatable, use the bottom border
instead of the top border, since most lists have a natural
border at the top (with headers), and may end up with
empty space at the bottom.
gtk/theme/Adwaita/_common.scss